import React from 'react';
import { Link } from 'react-router';
import NavLink from './NavLink';

export default class Menu extends React.Component {   
    render() {
        //let url = ["/index", "/content/page1",  { pathname: '/content/page2',query: { email: 'm_zhao@me.com',passwd:'casper' }}];
         let url = ["/index", "/content/page1",  { pathname: '/content/page2'},{ pathname: '/content/page3'}];
        return (
            <div className="list-group">
                <NavLink className="list-group-item" to={url[0]}>go Index</NavLink>
                <NavLink className="list-group-item" to={url[1]}>go page 1</NavLink>
                <NavLink className="list-group-item" to={url[2]}>go page 2</NavLink>
                <NavLink className="list-group-item" to={url[3]}>go page 3</NavLink>
            </div>
        )
    }
}
